package cn.thinkluck.pattern.composite;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
 * 文件
 * @Author liutao
 * @DateTime 2024/7/21 下午9:09
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
@Slf4j
public class File implements FileSys{
    private String name;
    @Override
    public void disPlay() {
        log.info("文件：" + name);
    }
}
